import { get } from "../utils/request";

// /调用此接口可查看是否被注册cellphone/existence/check
export const loadRegister = (values) => get("/cellphone/existence/check?phone=" + values)
//获取验证码
export const loadYanAPI = (values) => get("/captcha/sent?phone=" + values);


//传入手机号码和验证码, 可校验验证码是否正确
export const loadYanzhengmaAPI = (params) =>
  get("/captcha/verify", params);

//注册手机号和密码


export const loadPasswordAPI = (params) => get("/register/cellphone", params)

